package com.example.algorithm.no0088;

import com.example.algorithm.no0088.solution.SolutionImpl;

import java.util.Arrays;

/**
 * @Description 解答测试-合并两个有序数组
 * @ClassName SolutionTest
 * @Author Administrator
 * @Date 2020/5/16 12:54
 * @Version 1.0.0
 */
public class SolutionTest {

    static int[] nums1 = new int[]{2, 7, 11, 15};
    static int[] nums2 = new int[]{2, 7, 11, 15};
    static int m = 3;
    static int n = 3;

    public static void main(String[] args) {
        System.out.println("输入数组1为: " + Arrays.toString(nums1));
        System.out.println("输入数组2为: " + Arrays.toString(nums2));
        System.out.println("输入m为: " + m);
        System.out.println("输入n为: " + n);

        Solution solution = new SolutionImpl();

        solution.merge(nums1, m, nums2, n);
        System.out.println();

    }
}
